	.file	"foo.c"
	.option nopic
	.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0"
	.attribute unaligned_access, 0
	.attribute stack_align, 16
#---------- var ---------
	.text
	.section	.rodata
	.align	3
.LC0:
	.string	"Hello world!"
#---------- func ---------
	.globl	print_hello
	.text
	.align	1
	.globl	print_hello
	.type	print_hello, @function
print_hello:
	addi	sp,sp,-16
	sd	ra,8(sp)
	sd	s0,0(sp)
	addi	s0,sp,16
	lui	a5,%hi(.LC0)
	addi	a0,a5,%lo(.LC0)
	call	puts
	nop
	ld	ra,8(sp)
	ld	s0,0(sp)
	addi	sp,sp,16
	jr	ra
	.size	print_hello, .-print_hello
print_hello.Lfe:
#---------- kpatch begin ---------
	.pushsection .kpatch.text,"ax",@progbits
	.globl	print_hello.kpatch
	.align	1
	.globl	print_hello.kpatch
	.type	print_hello.kpatch, @function
print_hello.kpatch:
	addi	sp,sp,-16
	sd	ra,8(sp)
	sd	s0,0(sp)
	addi	s0,sp,16
	lui	a5,%hi(.LC0.kpatch)
	addi	a1,a5,%lo(.LC0.kpatch)
	lui	a5,%hi(.LC1.kpatch)
	addi	a0,a5,%lo(.LC1.kpatch)
	call	printf
	nop
	ld	ra,8(sp)
	ld	s0,0(sp)
	addi	sp,sp,16
	jr	ra
	.size	print_hello.kpatch, .-print_hello.kpatch
print_hello.kpatch_end:
	.popsection

	.pushsection .kpatch.strtab,"a",@progbits
kpatch_strtab1:
	.string "print_hello.kpatch"
	.popsection
	.pushsection .kpatch.info,"a",@progbits
print_hello.Lpi:
	.quad print_hello
	.quad print_hello.kpatch
	.long print_hello.Lfe - print_hello
	.long print_hello.kpatch_end - print_hello.kpatch
	.quad kpatch_strtab1
	.quad 0
	.long 0
	.byte 0, 0, 0, 0
	.popsection

#---------- kpatch end -----------
#---------- func ---------
	.globl	main
	.align	1
	.globl	main
	.type	main, @function
main:
	addi	sp,sp,-16
	sd	ra,8(sp)
	sd	s0,0(sp)
	addi	s0,sp,16
.L3:
	call	print_hello
	li	a0,1
	call	sleep
	j	.L3
	.size	main, .-main
	.pushsection .kpatch.text,"ax",@progbits
	.section .kpatch.data,"aw",@progbits
	.p2align	12
	.align	3
.LC0.kpatch:
	.string	"being patched"
	.popsection
	.pushsection .kpatch.data,"aw",@progbits
	.align	3
.LC1.kpatch:
	.string	"Hello world %s!\n"
	.popsection
	.ident	"GCC: (GNU) 12.3.1 (openEuler 12.3.1-81.oe2503)"
	.section	.note.GNU-stack,"",@progbits
